G4MSLSTFIL

The G4MSLSTFIL command is used to list files in your Microsoft OneDrive. The list is returned to the physical file G4MSDRVPF.

                         List OneDrive Files (G4MSLSTFIL)       
             
 Type choices, press Enter.
 MS ID  . . . . . . . . . . . . .   ________________________________________________________
                                                
                            Additional Parameters                               
 
 CCSID  . . . . . . . . . . . . .   1252          Number
 Debug  . . . . . . . . . . . . .   *NO           *YES, *NO
 Debug File . . . . . . . . . . .   _________________________________________________________
                                                                         Bottom
 F3=Exit   F4=Prompt   F5=Refresh   F12=Cancel   F13=How to use this display    
 F24=More keys                                                                  
  • Microsoft ID - Enter the Microsoft ID associated with the OneDrive you wish to list.
  • CCSID - Enter a CCSID for data translation.
  • Debug - Enter *YES to debug this command.
  • Debug File - Enter the fully qualified path and name of the IFS file to store the debug data. If left blank the default of /tmp/g4ms_<id>_ListFilesDebug.txt.<n> will be used where <id> is the ID associated with the request and <n> is the request sequence.

An Example of Using the G4MSLSTFIL

The first temp would be to call the G4MSLSTFIL command and specify the Microsoft ID you want to list files for.

The following video shows the command being run. Once the command completes, the G4MSDRFPF file will contain a list of all the folders, albums, files, photographs, videos and any other items located in your OneDrive.